<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title></title>
<#include "../head.html"/>
<script type="text/javascript">
$(function() {
	$("#jvForm").validate();
});
</script>
</head>
<body>
<script type="text/javascript">
//上传附件
function uploadAttachment(n) {
	var af = $('#attachmentFile'+n);
	//检查是否选择了文件
	if(af.val()=='') {
		alert('请选择要上传的文件');
		return;
	}
	//将file移动至上传表单
	$('#attachmentContent').empty();
	$('#attachmentContent').append(af);
	//复制一个file放至原处
	$('#afc'+n).append(af.clone().attr('value',''));
	$('#attachmentText'+n).attr('value','');
	//修改属性
	af.attr('id','');
	//其他表单
	$('#attachmentNum').val(n);
	$('#attachmentForm').submit();
}
</script>
<form id="attachmentForm" action="../attachment/o_upload_attachment.do" method="post" enctype="multipart/form-data" target="attachment_iframe" style="display:none;width:0px;height:0px;">
<span id="attachmentContent"></span>
<input type="hidden" id="attachmentNum" name="attachmentNum"/>
</form>
<iframe name="attachment_iframe" frameborder="0" border="0" style="display:none;width:0px;height:0px;"></iframe>
<iframe name="hiddenIframe" frameborder="0" border="0" style="display:none;width:0px;height:0px;"></iframe>
<div class="box-positon">
	<div class="rpos">当前位置: 房屋excel数据导入格式说明 </div>
	<form class="ropt">
	    <input type="hidden" name="typeid" value="${typeid!}"/>
		<input type="submit" value="返回列表" onclick="this.form.action='v_list.do';" class="return-button"/>
	</form>
	<div class="clear"></div>
</div>
<div class="body-box">
<table class="pn-ltable" style="" width="100%" cellspacing="1" cellpadding="0" border="0">
<thead class="pn-lthead">
<tr>
	<th>楼盘名称</th>
	<th>区域</th>
	<th>出卖人</th>
	<th>预售许可证号</th>
	<th>用途</th>
	<th>建筑类型</th>
	<th>建筑面积</th>
	<th>套内面积</th>
	<th>分摊面积</th>
	<th>成交金额</th>
	<th>建面单价</th>
	<th>套内单价</th>
	<th>合同时间</th>
</tr>
</thead>
<tbody  class="pn-ltbody">
<tr onmouseover="this.bgColor='#eeeeee'" onmouseout="this.bgColor='#ffffff'">
	<td align="center">人华夏城</td>
	<td align="center">北碚新区</td>
	<td align="center">重庆渝北</td>
	<td align="center">渝国土房</td>
    <td align="center">成套住宅</td>
	<td align="center">独栋别墅</td>
	<td align="center">120.26</td>
	<td align="center">23.23</td>
	<td align="center">55.23</td>
	<td align="center">192.023</td>
	<td align="center">23.56</td>
	<td align="center">2.568</td>
	<td align="center">2013-09-03</td>
</tr>
</tbody>
</table>

<form method="post" action="v_excelAdd.do" id="jvForm">
<table width="100%" class="pn-ftable" cellpadding="2" cellspacing="1" border="0">
<tr>
	<td colspan="4" style="background-color: #e6f2fe;text-align: center;padding-right: 3px;color: #000;height: 27px;">excel导入数据</td>
</tr>
<tr>
	<td align="center" class="pn-fcontent">附件名称</td>
	<td align="center" class="pn-fcontent">附件地址</td>
	<td align="center" class="pn-fcontent">上传</td>
</tr>
<tr>
	<td align="center" class="pn-fcontent"><input type="text" id="attachmentNames0" name="attachmentNames"/></td>
	<td align="center" class="pn-fcontent"><input type="text" id="attachmentPaths0" name="attachmentPaths"/></td>
	<td align="center" class="pn-fcontent">
		<span id="afc0" style="position:relative;display:block;width:300px;*width:300px;">
		<input type='text' id='attachmentText0'/>  
		<input class="browse" type='button' value='浏览'/>
		<input onchange="$('#attachmentText0').val(this.value)" size="19" type="file" name="attachmentFile" id="attachmentFile0" style="height:24px;opacity:0;filter:alpha(opacity=0);position:absolute;right:69px;top:2px;"/>
		<input type="button" value="上传" onclick="uploadAttachment(0);" class="upload-button"/>
		</span>
		<input type="hidden" id="attachmentFilenames0" name="attachmentFilenames"/>
	</td>
</tr>
<tr>
<td colspan="4" class="pn-fbutton">
	<input type="submit" value="提交" class="submit" class="submit"/> &nbsp; 
	<input type="reset" value="重置" class="reset" class="reset"/>
</td>
</tr>
</table>
</form>
</div>
</body>
</html>